import { Column, Entity, ObjectID, ObjectIdColumn } from "typeorm";

@Entity()
export class Select_lessons {
  @ObjectIdColumn()
  id: ObjectID;

  @Column()
  cid: string;

  @Column()
  cname: string;

  @Column()
  stu_num: string;

  @Column()
  sname: string;

  @Column()
  tid: string;

  @Column()
  tname: string;

  // @Column()
  // time_1: string;

  @Column()
  lesson_period: number;

  @Column()
  type: number;

  @Column()
  location: string;

  @Column()
  credit: number
}